﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="uc_comp_det_main.ascx.cs" Inherits="main_uc_comp_det_main" %>
<%@ Register Assembly="ESWebFramework.I18N" Namespace="ESWebFramework.I18N" TagPrefix="eswf" %>
<script>
    $(document).ready(function() {
        $("#ctl00_ContentPlaceHolder1_ctl00_tbLanguages").dropdownchecklist({ width: 195, initialMultiple: false, maxDropHeight: 150 });
        $('#ctl00_ContentPlaceHolder1_ctl00_tbLanguages').change(function() {
            $("#ctl00_ContentPlaceHolder1_ctl00_hf_lang").val($(this).val());
        });

        /*$("#ctl00_ContentPlaceHolder1_ctl00_ESi18nButton1").click(function() {
        $("#ctl00_ContentPlaceHolder1_ctl00_hf_lang").val($("#ctl00_ContentPlaceHolder1_ctl00_tbLanguages").val());
        alert($("#ctl00_ContentPlaceHolder1_ctl00_tbLanguages").val());
        });*/
    });

    function setValOnLang(val) {
        $("#ctl00_ContentPlaceHolder1_ctl00_tbLanguages").val(val);
    }
    function DeleteCompany() {
        if (confirm("Are you sure wan't to delete this Company?")) {
            return true;
        }
        return false;
    }
</script>
<script src="script/stickytooltip.js" type="text/javascript"></script>
<link href="style/stickytooltip.css" rel="stylesheet" type="text/css" /><% Response.Write(_lang); %>
<style>
._margin10
{
    margin:10px;
}
</style>
<div id="main_center">
    <div class="main_top" style="text-transform:uppercase">
        <eswf:ESi18nLabel ID="ESi18nLabel1" TextReference="comp_info" CssClass="_bold" runat="server"></eswf:ESi18nLabel>
    </div>
    <div class="main_content">
        <div id="contact_admin" style="padding:5px">
            <div class="contact_about">
                <eswf:ESi18nLabel ID="ESi18nLabel2" TextReference="basic_info" runat="server"></eswf:ESi18nLabel>
            </div>
            <div style="padding-bottom:5px;line-height:18px;text-align:left;height:141px">
                <div id="comp_img" style="float:left;width:205px;padding-top:5px;padding-left:12px">
                    <asp:Image  Height="100px" ID="imgLogo" ImageUrl="~/design_img/CompanyLogoDefault.jpg" runat="server" />
                    <asp:FileUpload ID="fuImage" Font-Size="12px" runat="server" />
                </div>
                <div style="width:500px;float:left">
                    <div style="float:left;width:200px">
                        <p class="_margin10">
                            <eswf:ESi18nLabel ID="ESi18nLabel11" TextReference="comp_status" runat="server"></eswf:ESi18nLabel>
                        </p>
                        <p class="_margin10">
                            <eswf:ESi18nLabel ID="ESi18nLabel12" TextReference="online_status" runat="server"></eswf:ESi18nLabel>
                        </p>
                        <p class="_margin10">
                            <eswf:ESi18nLabel ID="ESi18nLabel13" TextReference="online_chat" runat="server"></eswf:ESi18nLabel>
                        </p>
                    </div>
                    <div style="float:left;width:200px">
                        <p class="_margin10" style="font-weight:bold;">
                            <asp:Label ID="lblMember" runat="server" Text=""></asp:Label>
                            <asp:DropDownList Visible ="false" ID="ddl_member_type" runat="server">
                    </asp:DropDownList>
                        </p>
                        <p class="_margin10">
                            <asp:Label ID="lbl_OnlineStatus" runat="server" Text=""></asp:Label>
                        </p>
                        <p class="_margin10">
                            Comming Soon
                        </p>
                    </div>
                </div>
            </div>
            <div class="contact_about">
                <eswf:ESi18nLabel ID="ESi18nLabel3" TextReference="comp_info" runat="server"></eswf:ESi18nLabel>
            </div>
            <br />
            <div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel4" TextReference="comp_name" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblCompName" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbCompName" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="ttCompName" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel5" TextReference="country" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblCountry" runat="server" Text=""></asp:Label>
                    <asp:DropDownList ID="ddlCountry" runat="server" Width="202px" Font-Size="12px">
                    </asp:DropDownList>
                    <%if (logged == 1){ %><img align="top" data-tooltip="country_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel6" TextReference="city" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                <asp:Label ID="lblCity" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbCity" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="city_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel7" TextReference="post_code" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                <asp:Label ID="lblPostCode" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbPostCode" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="PostCode_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel8" TextReference="address" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblAddress" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbAddress" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="address_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel9" TextReference="company_type" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                <asp:Label ID="lblCompanyType" runat="server" Text=""></asp:Label>
                    <asp:DropDownList ID="ddlCompanyType" runat="server" Font-Size="12px" Width="202px" style="width:202px;">
                    </asp:DropDownList>
                    <%if (logged == 1){ %><img align="top" data-tooltip="comp_type" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel10" TextReference="operating_licence" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblOperatingLicence" runat="server" Text=""></asp:Label>
                    <asp:HyperLink ID="hlOperatingLicence" runat="server"></asp:HyperLink>
                    <asp:FileUpload ID="fuOpLicence" runat="server" />
                    
                    <%--<asp:TextBox ID="tbOperatingLicence" runat="server"></asp:TextBox>--%>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel14" TextReference="type_transport" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblTransportType" runat="server" Text=""></asp:Label>
                    <asp:CheckBoxList ID="cbTransportType" runat="server">
                    </asp:CheckBoxList>
                    <%if (logged == 1){ %><img align="top" data-tooltip="typetransportactivit" style="padding-left:130px" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel15" TextReference="op_activity_info" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblOperatingActivity" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbOperatingActivity" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="opactivity_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <%if (logged == 1 && DAO.GlobalSettings.Decrypt(
                      Request.Cookies["texchange"]["type"].ToString()) == "admin")
                  { %>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel28" TextReference="tax_file_number" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblTaxFileNumber" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tb_tax_file_number" runat="server" Visible="false"></asp:TextBox>
                </div>
                <%} %>
            </div>
            <div style="clear:both"><br /></div>
            <div class="contact_about">
                <eswf:ESi18nLabel ID="ESi18nLabel16" TextReference="cont_det" runat="server"></eswf:ESi18nLabel>
            </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel17" TextReference="telephone" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblTelephone" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbExt" MaxLength="3" Width="50px" runat="server"></asp:TextBox>
                    <asp:TextBox ID="tbTelephone" Width="145px" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="telephone_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel18" TextReference="fax" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblFax" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbFax" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="fax_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel19" TextReference="mobile" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblMobile" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbMobile" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="mobile_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel20" TextReference="website" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblWebsite" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbWebsite" runat="server"></asp:TextBox>
                    
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel21" TextReference="contact_person" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblContactPerson" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbContactPerson" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="contactperson_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel22" TextReference="reg_lang" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblLanguages" runat="server" Text=""></asp:Label>
                    <asp:DropDownList ID="tbLanguages" CssClass="formItem" Width="202px" Font-Size="12px" runat="server">
                        </asp:DropDownList>
                        <%if (logged == 1){ %><img align="top" data-tooltip="language_info" src="design_img/tool_tip_starter.jpg"><%} %>
                    <asp:HiddenField ID="hf_lang" runat="server" />   
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel23" TextReference="job_title" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lblJobTitle" runat="server" Text=""></asp:Label>
                    <asp:TextBox ID="tbJobTitle" runat="server"></asp:TextBox>
                    <%if (logged == 1){ %><img align="top" data-tooltip="jobtitle_info" src="design_img/tool_tip_starter.jpg"><%} %>
                </div>
            <asp:PlaceHolder ID="ph_changepass" runat="server">
            <div style="clear:both"><br /></div>
            <div class="contact_about">
                <eswf:ESi18nLabel ID="ESi18nLabel24" TextReference="change_pass" runat="server"></eswf:ESi18nLabel>
            </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel29" Visible="false" TextReference="email" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:TextBox ID="tb_email" Visible = "false" runat="server"></asp:TextBox>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel25" TextReference="old_pass" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:TextBox ID="tb_oldpass" runat="server"></asp:TextBox>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel30" TextReference="password" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="lbl_passAdmin" runat="server" Text=""></asp:Label>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel26" TextReference="new_pass" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:TextBox ID="tb_new_pass" runat="server" TextMode="Password"></asp:TextBox>
                </div>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <eswf:ESi18nLabel ID="ESi18nLabel27" TextReference="new_pass_repeat" runat="server"></eswf:ESi18nLabel>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:TextBox ID="tb_new_pass_repeat" runat="server" TextMode="Password"></asp:TextBox>
                </div>
            </asp:PlaceHolder>
                <div style="clear:both;float:left;width:416px;text-align:left;padding-top:8px;padding-left:12px">
                    <asp:Label ID="Label1" runat="server" Text="Active"></asp:Label>
                </div>
                <div style="float:left;width:250px;padding-top:8px;text-align:left;font-weight:bold">
                    <asp:Label ID="Label2" runat="server" Text=""></asp:Label>
                    <asp:CheckBox ID="cbIsActive" Checked="false" Visible="false" runat="server" />
                </div>
            <div style="clear:both;text-align:right;width:100%;background-color:#F1F3F2;height:30px">
            
                <input id="Button1" type="button" value="<%=DAO.TextBaseFactory.loadText("back_prev_page", this.LangId) %>" class="contact_submit" style="float:left" onclick="javascript:history.back(1)" />
                <eswf:ESi18nButton ID="ESi18nButton2" CssClass="contact_submit" 
                    TextReference="delete" runat="server" style="float:right" 
                    onclick="ESi18nButton2_Click" Visible="false"  OnClientClick="return DeleteCompany()" />
                <eswf:ESi18nButton ID="ESi18nButton1" CssClass="contact_submit" 
                    TextReference="save_fav" runat="server" onclick="ESi18nButton1_Click" style="float:right" />
                 
            </div>
        </div>
    </div>
    <div class="main_top" style="clear:both;text-transform:uppercase">
            </div>
</div>
<div id="mystickytooltip" class="stickytooltip">
    <div class="main_holder_padd">
        <div id="ttCompName" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel1" TextReference="company_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="city_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel2" TextReference="city_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="PostCode_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel3" TextReference="PostCode_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="address_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel4" TextReference="address_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="telephone_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel5" TextReference="telephone_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="fax_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel6" TextReference="fax_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="mobile_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel7" TextReference="mobile_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="email_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel8" TextReference="email_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="comp_type" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel9" TextReference="comp_type" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="tfn_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel10" TextReference="tfn_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="typetransportactivit" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel11" TextReference="typetransportactivit" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        
        <div id="opactivity_info" class="atip" style="width:300px; padding:3px; text-align:justify">
            <p>
                <eswf:i18nInfoLabel ID="I18nInfoLabel12" TextReference="opactivity_info" runat="server"></eswf:i18nInfoLabel>
            </p>
        </div>
        <div id="contactperson_info" class="atip" style="width:300px; padding:3px; text-align:justify">
        <p>
            <eswf:i18nInfoLabel ID="I18nInfoLabel13" TextReference="contactperson_info" runat="server"></eswf:i18nInfoLabel>
        </p>
    </div>
    <div id="jobtitle_info" class="atip" style="width:300px; padding:3px; text-align:justify">
        <p>
            <eswf:i18nInfoLabel ID="I18nInfoLabel14" TextReference="jobtitle_info" runat="server"></eswf:i18nInfoLabel>
        </p>
    </div>
    <div id="language_info" class="atip" style="width:300px; padding:3px; text-align:justify">
        <p>
            <eswf:i18nInfoLabel ID="I18nInfoLabel15" TextReference="language_info" runat="server"></eswf:i18nInfoLabel>
        </p>
    </div>
    <div id="Div1" class="atip" style="width:300px; padding:3px; text-align:justify">
        <p>
            <eswf:i18nInfoLabel ID="I18nInfoLabel16" TextReference="mobile_info" runat="server"></eswf:i18nInfoLabel>
        </p>
    </div>
    </div>
</div>